﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = ElectronicWarfare
		Group                          = Demobilizers
		ModuleClass                    = Long
		Module                         = gloo l-demobilizer
		CpuUsage                       = 57.00 TF
		ReactorUsage                   = 15.00 RP
		Type                           = Active
		Slot                           = Head
		TechnologicalLevel             = T3
		Mass                           = 100.00 kg
		PackedVolume                   = 0.25 U
		Volume                         = 0.50 U
		AccumulatorConsumption         = 37.00 AP
		CycleTime                      = 5.00 sec
		OptimalRange                   = 275 m
		TopSpeedModification           = -2.00 %
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// GLOO L-demobilizer module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:54</remarks>
    public sealed class GlooLDemobilizer : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="GlooLDemobilizer"/> class.
        /// </summary>
        public GlooLDemobilizer()
            : base(
            "GLOO L-demobilizer",
            "",
            ModuleMetaGroupsEnum.ElectronicWarfare,
            ModuleGroupsEnum.Demobilizers,
            TechnologyLevelsEnum.Level3,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(CpuUsage<double>),57.00),
				new LazyFeature(typeof(ReactorUsage<double>),15.00),
				new LazyFeature(typeof(ModuleMass<double>),100.00),
				new LazyFeature(typeof(AccumulatorUsage<double>),37.00),
				new LazyFeature(typeof(DemobilizerCycleTime<double>),5.00),
				new LazyFeature(typeof(DemobilizerOptimal<double>),275),
				new LazyFeature(typeof(DemobilizerTopSpeed<double>),-0.02), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 100.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Head; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}